package com.xiao.springbootxssfilter.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * Created by xxw on 2021/3/30
 * 请求测试模拟
 */
@RestController
public class TestController {


    @GetMapping("/getParam")
    public String getParam(String param) {
        return param;
    }

    @PostMapping("/postParam")
    public String postParam(String param) {
        return param;
    }
}
